.class Lcom/waiqin365/lightapp/dailyreport/view/j;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/dailyreport/view/i;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/view/i;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    const/4 v2, 0x0

    if-eqz p1, :cond_0

    iget v0, p1, Landroid/os/Message;->arg1:I

    const/16 v1, 0x7d1

    if-ne v0, v1, :cond_8

    iget v0, p1, Landroid/os/Message;->what:I

    const/4 v1, 0x7

    if-ne v0, v1, :cond_5

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->a()Z

    move-result v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->f:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->g:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->a(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/HashMap;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->f:Ljava/lang/String;

    iget-object v3, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->g:Ljava/util/ArrayList;

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->b(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/HashMap;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->f:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->b(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/HashMap;

    move-result-object v1

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->f:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->notifyDataSetChanged()V

    :cond_0
    :goto_2
    return-void

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->a(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/HashMap;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->f:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->b(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/HashMap;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->f:Ljava/lang/String;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->f:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v1

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;->b:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto :goto_2

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto :goto_2

    :cond_5
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v1, 0x8

    if-ne v0, v1, :cond_0

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ak;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/ak;->a()Z

    move-result v1

    if-eqz v1, :cond_7

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ak;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ak;->f:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ak;->f:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->d(Lcom/waiqin365/lightapp/dailyreport/view/i;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->removeAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    const-string/jumbo v2, "0"

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Ljava/util/ArrayList;Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    const-string/jumbo v2, "1"

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Ljava/util/ArrayList;Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->notifyDataSetChanged()V

    goto/16 :goto_2

    :cond_6
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v1

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ak;->b:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_2

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_2

    :cond_8
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/j;->a:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->c(Lcom/waiqin365/lightapp/dailyreport/view/i;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_2
.end method
